<?=form_open_multipart(base_url().'admin/trailors/select') ?>
<table cellspacing="" border='0' id='tableadmin'>
	<tr>
		<th colspan='9' >Movie Names</th>
	</tr>
	
	<tr>
		<th>S.No</th>
		<th>moviename</th>
		<th>Trailors</th>
	</tr>
	<? $count=0; ?>
	<? foreach ($movies as $row): $count++;?>
	<tr>
	<td align="left"><? echo $count; ?></td>
	<td align="left"><?=$row->movie_name?></td>
	<td align="left"><a href="<?=base_url()?>admin/trailors/trailors_details/<?=$row->id?>">trailors for <?=$row->movie_name ?></a></td>	
	<? endforeach; ?>
	</tr>

</table>
<?=form_close()?>